﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="TRPOP.CMS.Web.Admin.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>后台管理 </title>
    <meta name="robots" content="nofollow" />
    <script src="/js/utils.js" type="text/javascript"></script>
    <script src="js/utils.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        if (self != top) {
            top.window.location = self.window.location;
        }
    </script>
</head>
<body onload="document.getElementById('txtUserName').focus()" class="loginFormBody">
    <form id="loginform1" runat="server" target="_top" onsubmit="return CheckForm(this);">
    <div class="dialog center">
        <div class="dialog_content">
            <div class="logo_header">
                <a href="#">
                    <img width="300" height="56"  border="0" alt="TRPOP_CMS SYSTEM" src="../App_Themes/<%=TRPOP.CMS.Model.SystemInfoHelper.getSystemInfo().CMSThemes%>/images/logo.jpg" />
                </a>
            </div>
            <div id="logins">
                <div class="content">
                    <p>
                        <label class="large" for="login">
                            用户名</label>
                        <cms:TextBox prompt="用户名" required="1" ID="txtUserName" runat="server" Width="200px" ControlValueType="None"></cms:TextBox>
                    </p>
                    <p>
                        <label class="large" for="password">
                            密&nbsp;&nbsp;码</label>
                        <cms:TextBox prompt="密码" required="1" ID="txtPassWord" runat="server" TextMode="Password" Width="200px"  ControlValueType="None"></cms:TextBox>
                    </p>
                    <p>
                        <label class="large" for="login">
                            验证码</label>
                        <cms:TextBox prompt="验证码" required="1" ID="Secode" runat="server"  Width="90px"  ControlValueType="None"></cms:TextBox>
                        <img alt="如果您无法识别验证码，请点图片更换" style=" padding-top:2px; vertical-align:middle; height:20px;" title="如果您无法识别验证码，请点图片更换" onclick="refreshimg(this)"  src="GetCheckCode.aspx?rnd=<%= new Random().Next(1,1000).ToString()%>" />
                    </p>
                </div>
            </div>
            <div class="dialog_buttons">
                <cms:Button ID="btnSubmit" runat="server" Text="登录" OnClick="btnSubmit_Click" CssClass="button_style" />
                <cms:Label ID="ErrorInfo" runat="server" ForeColor="Red"></cms:Label>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
